package com.test.design.example1.carFactory.impl;

import com.test.design.example1.dto.Car;
import com.test.design.example1.carFactory.CarFactorys;

/**
 * @program: design-patternz
 * @description: suv生产车间
 * @author: <a href="mailto:zhengjiaming@gtmap.cn">zhengjiaming</a>
 * @create: 2024-12-26 09:50
 **/
public class SUVFactorys implements CarFactorys {
    @Override
    public Car createCar() {
        Car car = new Car();
        car.setYs("黑色");
        car.setXh("SUV");
        return car;
    }
}
